<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Ball Balancing Plate: C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/mcuconf.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Ball Balancing Plate
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">ChibiOS-RT servos control firmware.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('mcuconf_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/mcuconf.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mcuconf_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,</span>
<a name="l00003"></a>00003 <span class="comment">                 2011,2012 Giovanni Di Sirio.</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">    This file is part of ChibiOS/RT.</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">    ChibiOS/RT is free software; you can redistribute it and/or modify</span>
<a name="l00008"></a>00008 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
<a name="l00009"></a>00009 <span class="comment">    the Free Software Foundation; either version 3 of the License, or</span>
<a name="l00010"></a>00010 <span class="comment">    (at your option) any later version.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">    ChibiOS/RT is distributed in the hope that it will be useful,</span>
<a name="l00013"></a>00013 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00014"></a>00014 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00015"></a>00015 <span class="comment">    GNU General Public License for more details.</span>
<a name="l00016"></a>00016 <span class="comment"></span>
<a name="l00017"></a>00017 <span class="comment">    You should have received a copy of the GNU General Public License</span>
<a name="l00018"></a>00018 <span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="comment">/*</span>
<a name="l00022"></a>00022 <span class="comment"> * STM32F0xx drivers configuration.</span>
<a name="l00023"></a>00023 <span class="comment"> * The following settings override the default settings present in</span>
<a name="l00024"></a>00024 <span class="comment"> * the various device driver implementation headers.</span>
<a name="l00025"></a>00025 <span class="comment"> * Note that the settings for each driver only have effect if the whole</span>
<a name="l00026"></a>00026 <span class="comment"> * driver is enabled in halconf.h.</span>
<a name="l00027"></a>00027 <span class="comment"> *</span>
<a name="l00028"></a>00028 <span class="comment"> * IRQ priorities:</span>
<a name="l00029"></a>00029 <span class="comment"> * 3...0       Lowest...Highest.</span>
<a name="l00030"></a>00030 <span class="comment"> *</span>
<a name="l00031"></a>00031 <span class="comment"> * DMA priorities:</span>
<a name="l00032"></a>00032 <span class="comment"> * 0...3        Lowest...Highest.</span>
<a name="l00033"></a>00033 <span class="comment"> */</span>
<a name="l00034"></a>00034 
<a name="l00035"></a><a class="code" href="mcuconf_8h.html#aa49c010da5948c237ea0ca9eb1e7ac30">00035</a> <span class="preprocessor">#define STM32F0xx_MCUCONF</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span>
<a name="l00037"></a>00037 <span class="comment">/*</span>
<a name="l00038"></a>00038 <span class="comment"> * HAL driver system settings.</span>
<a name="l00039"></a>00039 <span class="comment"> */</span>
<a name="l00040"></a><a class="code" href="mcuconf_8h.html#affb519ca907542b6bff9104700c0009d">00040</a> <span class="preprocessor">#define STM32_NO_INIT                       FALSE</span>
<a name="l00041"></a><a class="code" href="mcuconf_8h.html#ab70d9b5c3764aac6282d594d8f6a88ec">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PVD_ENABLE                    FALSE</span>
<a name="l00042"></a><a class="code" href="mcuconf_8h.html#a6f4f9c19c6b1a1c3694278a542e3c60d">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PLS                           STM32_PLS_LEV0</span>
<a name="l00043"></a><a class="code" href="mcuconf_8h.html#a2044f0288f2c20b27d6eee1e1a1e6256">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_HSI_ENABLED                   TRUE</span>
<a name="l00044"></a><a class="code" href="mcuconf_8h.html#aa649dc58606c255da49875759cb541ef">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_HSI14_ENABLED                 TRUE</span>
<a name="l00045"></a><a class="code" href="mcuconf_8h.html#a02b4e3e6222baab7ee448cbbb2273370">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_LSI_ENABLED                   TRUE</span>
<a name="l00046"></a><a class="code" href="mcuconf_8h.html#ad94c4a0da6c8c7a3d0b800fdc0dbebfa">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_HSE_ENABLED                   FALSE</span>
<a name="l00047"></a><a class="code" href="mcuconf_8h.html#a05b49e91f478558d33b2b862718758fa">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_LSE_ENABLED                   FALSE</span>
<a name="l00048"></a><a class="code" href="mcuconf_8h.html#a29204b81c265dd6e124fbcf12a2c8d6f">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SW                            STM32_SW_PLL</span>
<a name="l00049"></a><a class="code" href="mcuconf_8h.html#a811cfbd049f0ab00976def9593849d32">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PLLSRC                        STM32_PLLSRC_HSI</span>
<a name="l00050"></a><a class="code" href="mcuconf_8h.html#ad7443fb89c1569f264a218209fbe8ddd">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PLLXTPRE                      STM32_PLLXTPRE_DIV1</span>
<a name="l00051"></a><a class="code" href="mcuconf_8h.html#a0015fc8f73017358a7025ba57a265a11">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PLLMUL_VALUE                  12</span>
<a name="l00052"></a><a class="code" href="mcuconf_8h.html#a035ea0d8259c0f89306c6a7d344705f2">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_HPRE                          STM32_HPRE_DIV1</span>
<a name="l00053"></a><a class="code" href="mcuconf_8h.html#afd546c796f9904072b0ce9104306f401">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PPRE                          STM32_PPRE_DIV1</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADCSW                         STM32_ADCSW_HSI14</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADCPRE                        STM32_ADCPRE_DIV4</span>
<a name="l00056"></a><a class="code" href="mcuconf_8h.html#ab395c2abfb2e6fd501ce4529bf09a05f">00056</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_MCOSEL                        STM32_MCOSEL_NOCLOCK</span>
<a name="l00057"></a><a class="code" href="mcuconf_8h.html#a671b452f988ee9b64e128fad72f656e6">00057</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADCPRE                        STM32_ADCPRE_DIV4</span>
<a name="l00058"></a><a class="code" href="mcuconf_8h.html#a3e71ebfcb3a072cbc0751581f3f4ee84">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADCSW                         STM32_ADCSW_HSI14</span>
<a name="l00059"></a><a class="code" href="mcuconf_8h.html#a25a50837427f5a728de543d8463b6623">00059</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_CECSW                         STM32_CECSW_HSI</span>
<a name="l00060"></a><a class="code" href="mcuconf_8h.html#a5f73f584e60bf235f5440ce5cee2ca20">00060</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_I2C1SW                        STM32_I2C1SW_HSI</span>
<a name="l00061"></a><a class="code" href="mcuconf_8h.html#ade0c8b4992afc59bd1256c66c794bdeb">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_USART1SW                      STM32_USART1SW_PCLK</span>
<a name="l00062"></a><a class="code" href="mcuconf_8h.html#a945eb1f70822303bd0191ef633e5eaca">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_RTCSEL                        STM32_RTCSEL_LSI</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span>
<a name="l00064"></a>00064 <span class="comment">/*</span>
<a name="l00065"></a>00065 <span class="comment"> * ADC driver system settings.</span>
<a name="l00066"></a>00066 <span class="comment"> */</span>
<a name="l00067"></a><a class="code" href="mcuconf_8h.html#a7256aa7c13b88f877cfb8d4913dcec0a">00067</a> <span class="preprocessor">#define STM32_ADC_USE_ADC1                  FALSE</span>
<a name="l00068"></a><a class="code" href="mcuconf_8h.html#ad19de93466026d8b03a895cae792bce9">00068</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADC_ADC1_DMA_PRIORITY         2</span>
<a name="l00069"></a><a class="code" href="mcuconf_8h.html#a58e21948e78c6cf50c04e64363637dd4">00069</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADC_IRQ_PRIORITY              2</span>
<a name="l00070"></a><a class="code" href="mcuconf_8h.html#a19080c8c395ae24df995fa57a2291465">00070</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY     2</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 <span class="comment">/*</span>
<a name="l00073"></a>00073 <span class="comment"> * EXT driver system settings.</span>
<a name="l00074"></a>00074 <span class="comment"> */</span>
<a name="l00075"></a><a class="code" href="mcuconf_8h.html#a804943425d4ff111eca58d30ada743f3">00075</a> <span class="preprocessor">#define STM32_EXT_EXTI0_1_IRQ_PRIORITY      3</span>
<a name="l00076"></a><a class="code" href="mcuconf_8h.html#ae9bc072daafcb71c1c1a476fc3d25509">00076</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_EXT_EXTI2_3_IRQ_PRIORITY      3</span>
<a name="l00077"></a><a class="code" href="mcuconf_8h.html#ae240cda1552b6fd87ccfbbfd7c46819e">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_EXT_EXTI4_15_IRQ_PRIORITY     3</span>
<a name="l00078"></a><a class="code" href="mcuconf_8h.html#abd53222576d825b8a23d1d9fd6d78a6a">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_EXT_EXTI16_IRQ_PRIORITY       3</span>
<a name="l00079"></a><a class="code" href="mcuconf_8h.html#aff4ce61159313e9c4b43dd1c0f61fd47">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_EXT_EXTI17_IRQ_PRIORITY       3</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00081"></a>00081 <span class="comment">/*</span>
<a name="l00082"></a>00082 <span class="comment"> * GPT driver system settings.</span>
<a name="l00083"></a>00083 <span class="comment"> */</span>
<a name="l00084"></a><a class="code" href="mcuconf_8h.html#a44c0e5a4a20e05dbb598a408cf1ebee7">00084</a> <span class="preprocessor">#define STM32_GPT_USE_TIM1                  FALSE</span>
<a name="l00085"></a><a class="code" href="mcuconf_8h.html#a87dac50603730367a564c5ba63c6e9a1">00085</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_GPT_USE_TIM2                  FALSE</span>
<a name="l00086"></a><a class="code" href="mcuconf_8h.html#a13e83c85f2c204e9302199f07dfc982e">00086</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_GPT_USE_TIM3                  FALSE</span>
<a name="l00087"></a><a class="code" href="mcuconf_8h.html#a1e249eb52e9aafc7325e6cfde76db4cf">00087</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_GPT_TIM1_IRQ_PRIORITY         2</span>
<a name="l00088"></a><a class="code" href="mcuconf_8h.html#a314cec15b23670096752964ec5caf3ce">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_GPT_TIM2_IRQ_PRIORITY         2</span>
<a name="l00089"></a><a class="code" href="mcuconf_8h.html#aa0e96044581d47cc827e2cbeb0227a8e">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_GPT_TIM3_IRQ_PRIORITY         2</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span>
<a name="l00091"></a>00091 <span class="comment">/*</span>
<a name="l00092"></a>00092 <span class="comment"> * ICU driver system settings.</span>
<a name="l00093"></a>00093 <span class="comment"> */</span>
<a name="l00094"></a><a class="code" href="mcuconf_8h.html#a5f5e9b802c24ad1637cd2aaee14606ed">00094</a> <span class="preprocessor">#define STM32_ICU_USE_TIM1                  FALSE</span>
<a name="l00095"></a><a class="code" href="mcuconf_8h.html#a9d125141e8f301e2b6d590067fd7890e">00095</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ICU_USE_TIM2                  FALSE</span>
<a name="l00096"></a><a class="code" href="mcuconf_8h.html#a877fa83cee0173d5f451b77e59180725">00096</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ICU_USE_TIM3                  FALSE</span>
<a name="l00097"></a><a class="code" href="mcuconf_8h.html#a51083eefd4e7d0303f11081df496d2ed">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ICU_TIM1_IRQ_PRIORITY         3</span>
<a name="l00098"></a><a class="code" href="mcuconf_8h.html#a639272943cb5b9bdcbd78e5ced2b52a0">00098</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ICU_TIM2_IRQ_PRIORITY         3</span>
<a name="l00099"></a><a class="code" href="mcuconf_8h.html#a5a90d9b62fd7b1a0180c2aec7d00089d">00099</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_ICU_TIM3_IRQ_PRIORITY         3</span>
<a name="l00100"></a>00100 <span class="preprocessor"></span>
<a name="l00101"></a>00101 <span class="comment">/*</span>
<a name="l00102"></a>00102 <span class="comment"> * PWM driver system settings.</span>
<a name="l00103"></a>00103 <span class="comment"> */</span>
<a name="l00104"></a><a class="code" href="mcuconf_8h.html#a554728f749ad9aca0102d189cc6bb9e7">00104</a> <span class="preprocessor">#define STM32_PWM_USE_ADVANCED              FALSE</span>
<a name="l00105"></a><a class="code" href="mcuconf_8h.html#a6f066eafb341c481f419dc609e1cd147">00105</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_USE_TIM1                  FALSE</span>
<a name="l00106"></a><a class="code" href="mcuconf_8h.html#a061e9a31faab6d787c73d7f21893e483">00106</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_USE_TIM2                  FALSE</span>
<a name="l00107"></a><a class="code" href="mcuconf_8h.html#a3f108deab28dba83858c5a6d5089a322">00107</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_USE_TIM3                  TRUE</span>
<a name="l00108"></a><a class="code" href="mcuconf_8h.html#ae631e1c4b6541c9d67de9d009196b770">00108</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_TIM1_IRQ_PRIORITY         3</span>
<a name="l00109"></a><a class="code" href="mcuconf_8h.html#a01b2a27910cfaed8a40043c8efe1e9a4">00109</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_TIM2_IRQ_PRIORITY         3</span>
<a name="l00110"></a><a class="code" href="mcuconf_8h.html#a8b4f8d9d4308f0503738704437284592">00110</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_PWM_TIM3_IRQ_PRIORITY         3</span>
<a name="l00111"></a>00111 <span class="preprocessor"></span>
<a name="l00112"></a>00112 <span class="comment">/*</span>
<a name="l00113"></a>00113 <span class="comment"> * SERIAL driver system settings.</span>
<a name="l00114"></a>00114 <span class="comment"> */</span>
<a name="l00115"></a><a class="code" href="mcuconf_8h.html#a7f657adda8b7f6aa955f0806a29b0b9d">00115</a> <span class="preprocessor">#define STM32_SERIAL_USE_USART1             TRUE</span>
<a name="l00116"></a><a class="code" href="mcuconf_8h.html#acf6b4949732fac0a1ded862174aabba7">00116</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SERIAL_USE_USART2             FALSE</span>
<a name="l00117"></a><a class="code" href="mcuconf_8h.html#a7509c7a01a83276aa7768474357ec61d">00117</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SERIAL_USART1_PRIORITY        3</span>
<a name="l00118"></a><a class="code" href="mcuconf_8h.html#a562945e4ccd2bca4a4277eaa05ae70a0">00118</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SERIAL_USART2_PRIORITY        3</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span>
<a name="l00120"></a>00120 <span class="comment">/*</span>
<a name="l00121"></a>00121 <span class="comment"> * SPI driver system settings.</span>
<a name="l00122"></a>00122 <span class="comment"> */</span>
<a name="l00123"></a><a class="code" href="mcuconf_8h.html#af105fbdfb7b9076472b373ed0c7b3fef">00123</a> <span class="preprocessor">#define STM32_SPI_USE_SPI1                  FALSE</span>
<a name="l00124"></a><a class="code" href="mcuconf_8h.html#a626416dc22cf5f3deff2a8c7d8efa5b2">00124</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_USE_SPI2                  FALSE</span>
<a name="l00125"></a><a class="code" href="mcuconf_8h.html#a22d3ce19419dc8bbc47f94c065f3271c">00125</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_SPI1_DMA_PRIORITY         1</span>
<a name="l00126"></a><a class="code" href="mcuconf_8h.html#a90bd623120d1e54038094fba54ba05c0">00126</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_SPI2_DMA_PRIORITY         1</span>
<a name="l00127"></a><a class="code" href="mcuconf_8h.html#a0b3f4734d9855324ef89b57cb9858e49">00127</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_SPI1_IRQ_PRIORITY         2</span>
<a name="l00128"></a><a class="code" href="mcuconf_8h.html#a47d90eaca23f3eea99d74d1bb3539541">00128</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_SPI2_IRQ_PRIORITY         2</span>
<a name="l00129"></a><a class="code" href="mcuconf_8h.html#afda450bd11b4c1408739367b23c9f852">00129</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_SPI_DMA_ERROR_HOOK(spip)      chSysHalt()</span>
<a name="l00130"></a>00130 <span class="preprocessor"></span>
<a name="l00131"></a>00131 <span class="comment">/*</span>
<a name="l00132"></a>00132 <span class="comment"> * UART driver system settings.</span>
<a name="l00133"></a>00133 <span class="comment"> */</span>
<a name="l00134"></a><a class="code" href="mcuconf_8h.html#a7b366b1eb660467c7ef9667705ad8308">00134</a> <span class="preprocessor">#define STM32_UART_USE_USART1               FALSE</span>
<a name="l00135"></a><a class="code" href="mcuconf_8h.html#ad9f8b9dcf8dd01e163b8d47c56cee1aa">00135</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USE_USART2               FALSE</span>
<a name="l00136"></a><a class="code" href="mcuconf_8h.html#a050fc59913309402f34dd2ea6ab3cdf8">00136</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART1_IRQ_PRIORITY      3</span>
<a name="l00137"></a><a class="code" href="mcuconf_8h.html#ad1d292d78abf8f0b5a9e210d217a1cfe">00137</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART2_IRQ_PRIORITY      3</span>
<a name="l00138"></a><a class="code" href="mcuconf_8h.html#a8307c6c43bf456405efe19e5908d5a25">00138</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART1_DMA_PRIORITY      0</span>
<a name="l00139"></a><a class="code" href="mcuconf_8h.html#a02ab064f32c429288dce0b15b2e443a1">00139</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART2_DMA_PRIORITY      0</span>
<a name="l00140"></a><a class="code" href="mcuconf_8h.html#a969b79cb637b8b69cec9257705d74484">00140</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART1_RX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 3)</span>
<a name="l00141"></a><a class="code" href="mcuconf_8h.html#a02c568ae2c758034cdf478f81b447af3">00141</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART1_TX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 2)</span>
<a name="l00142"></a><a class="code" href="mcuconf_8h.html#af80e6c340ebc738f24275329c32db853">00142</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART2_RX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 5)</span>
<a name="l00143"></a><a class="code" href="mcuconf_8h.html#aacb71b8fee4d07ab0317ac8cc6ee9856">00143</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_USART2_TX_DMA_STREAM     STM32_DMA_STREAM_ID(1, 4)</span>
<a name="l00144"></a><a class="code" href="mcuconf_8h.html#a9a4cb321d74c57b544a1628faaae1569">00144</a> <span class="preprocessor"></span><span class="preprocessor">#define STM32_UART_DMA_ERROR_HOOK(uartp)    chSysHalt()</span>
</pre></div></div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="mcuconf_8h.html">mcuconf.h</a>      </li>

    <li class="footer">Generated on Wed Jun 5 2013 12:23:45 for Ball Balancing Plate by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
